package com.miao.elm.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.miao.elm.entity.CartEntity;
import com.miao.elm.to.CartTo;
import com.miao.elm.to.FoodTo;

import java.util.List;

/**
 * 
 *
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2022-11-01 11:53:46
 */
public interface CartService extends IService<CartEntity> {

    List<FoodTo> listCartByInfo(CartTo cartTo);

    int saveCart(CartTo cartTo);

    int updateCart(CartTo cartTo);

    int removeCart(CartTo cartTo);
}

